package cn.iocoder.yudao.module.pypm.controller.admin.comment.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.*;

import java.time.LocalDateTime;
import cn.idev.excel.annotation.ExcelIgnoreUnannotated;
import cn.idev.excel.annotation.ExcelProperty;

@Schema(description = "管理后台 - 评论 Response VO")
@Data
@ExcelIgnoreUnannotated
public class CommentRespVO {

    @Schema(description = "评论ID", requiredMode = Schema.RequiredMode.REQUIRED, example = "27130")
    @ExcelProperty("评论ID")
    private Long id;

    @Schema(description = "关系表ID", requiredMode = Schema.RequiredMode.REQUIRED, example = "17418")
    @ExcelProperty("关系表ID")
    private Long relevanceId;

    @Schema(description = "创建时间")
    @ExcelProperty("创建时间")
    private LocalDateTime createTime;

    @Schema(description = "评论内容", requiredMode = Schema.RequiredMode.REQUIRED)
    @ExcelProperty("评论内容")
    private String content;

    @Schema(description = "markdown原文")
    @ExcelProperty("markdown原文")
    private String mkcontent;

    @Schema(description = "项目ID", requiredMode = Schema.RequiredMode.REQUIRED, example = "11379")
    @ExcelProperty("项目ID")
    private Long projectId;

    @Schema(description = "用户ID", example = "685")
    @ExcelProperty("用户ID")
    private Long userId;

    @Schema(description = "用户头像")
    @ExcelProperty("用户头像")
    private String avatar;

    @Schema(description = "评论的父类ID", example = "5056")
    @ExcelProperty("评论的父类ID")
    private Long parentId;

}